package czx.wt.util.phone;

/**
 * @Description: 将电话号码中间转换为4个****
 * @Author: ChenZhiXiang
 * @CreateDate: 2018/12/19 0019 16:34
 * @Version: 1.0
 */
public class PhoneFormat {

    public static String getPhoneNum(String num){
        String phoneNumber = (num.substring(0, 3) + "****" + num.substring(7, num.length())).trim();
        return phoneNumber;
    }

}
